Smush\Core\Integrations\NextGen\Stats D

Total Complexity 128
Dependencies 6
Dependents 1
Total lines 654
Lines of code 371
Logical lines of code 222
Comment lines 164
Methods 30
Properties 8

Methods 30

Method Rating Maintainability Complexity Lines of code
get_ngg_images()
B
40 24 53
update_stats()
A
57 11 13
recalculate_stats()
A
54 9 19
get_smush_stats()
A
49 8 28
update_stats_cache()
A
51 8 25
get_super_smushed_images()
S
58 8 15
get_smushed_image_count()
S
57 6 16
get_grade_class()
S
60 5 13
get_global_stats()
S
47 3 36
total_count()
S
62 5 10
get_percent_optimized()
S
59 4 15
get_stats_for_ids()
S
59 4 14
get_supper_smushed()
S
62 4 11
get_unsmushed_images()
S
64 3 11
cleanup_super_smush_data()
S
64 3 9
get_image_resize_savings()
S
65 3 10
get_image_smush_savings()
S
64 3 10
get_array_value()
S
78 2 3
get_attachment_stats()
S
63 2 10
get_remaining_count()
S
65 2 9
get_percent_metric()
S
75 2 4
subtract_image_stats()
S
72 1 5
update_smush_stats()
S
79 1 3
__construct()
S
64 1 9
get_smushed_count()
S
80 1 3
get_supper_smushed_count()
S
80 1 3
get_supper_smushed_list()
S
82 1 3
get_reoptimize_list()
S
82 1 3
clear_cache()
S
73 1 5
get_cache_smush_stats()
S
80 1 3